<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/js/jquery.form.js"></script>
<link rel="stylesheet" href="/css/base.css" type="text/css">
<script type="text/javascript" src="/view/js/limits/updateLimits.js"></script>
</head>
<body>

<div class="addclass">
<div class="title">修改权限</div>
<form class="contact_form" id="updateForm" method="post" name="contact_form" >
			<input type="text" name="id" id="id" class="easyui-validatebox" hidden="true"/>
			<input type="text" name="code" id="code" class="easyui-validatebox" hidden="true"/>
            <table class="table" style="BORDER-COLLAPSE: collapse;" border="1">
                 <tr>
					<th><label for="name">权限名称:</label></th>
					<td><input type="text" name="name" id="name" 
						 class="easyui-validatebox" data-options="required:true,missingMessage:'必填'" onkeyup="this.value=this.value.replace(/\s+/ ,'')"/>
					</td>
				 </tr>
				<tr>
					 <th><label for="name" >图标:</label></th>
					<td>
						<input type="text" name="icon" id="icon" class="easyui-validatebox" data-options="required:true,missingMessage:'必填'" onkeyup="this.value=this.value.replace(/\s+/ ,'')"/>
					</td>
				</tr>
				<tr>
					 <th><label for="name" >类型:</label></th>
					<td>
						<input id="type" name="type" class="easyui-combobox" data-options="validType:'printConfeigCombos'" type="text"/>
					</td>
				</tr>
				<tr>
					 <th><label for="name" >URL地址:</label></th>
					<td>
						<input type="text" name="addr" id="addr" class="easyui-validatebox" onkeyup="this.value=this.value.replace(/\s+/ ,'')"/>
					</td>
				</tr>
				<tr>
					 <th><label for="name" >排序:</label></th>
					<td>
						<input type="text" name="sort" id="sort" class="easyui-validatebox" onkeyup="this.value=this.value.replace(/[^0-9]+/ ,'')"/>
					</td>
				</tr>
				<tr>
					<th ><label for="name" >上级菜单：</label></th>
					<td><ul style="width:173px;"  id="parentCode" class="easyui-combotree"></ul></td>
				</tr>
			</table>
		</form>
	 
	<div class="linkbuts">
		<a id="btnsave" href="#" class="easyui-linkbutton" onclick="updateMerchant();" data-options="iconCls:'icon-save'">保存</a> 
<!-- 		<a id="btncancel" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload'">重置</a> -->
	</div>
</div> 
 
</body>
</html>